package com.ybkj.daijia.server.mapper;

import com.ybkj.daijia.server.model.DriverHelppay;
import java.math.BigDecimal;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhyu
 * @date 2019/5/8 17:03 desc:
 */

public interface DriverHelppayMapper {

    int insert(@Param("driverHelppay") DriverHelppay driverHelppay);

    int delete(long id);

    DriverHelppay selectOne(long id);

    int updateMoney(@Param("id") long id, @Param("money") BigDecimal money);

    BigDecimal getHelppayMoneyById(@Param("id") long id);
}
